package com.gaohe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gaohe.pojo.Orders;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    PageInfo<Orders> getAll(Integer page, Integer pageSize, Integer status);
    //订单
    boolean placeOrder(Orders orders);

    List<Orders> getOrdersByUserId(Long userId,String name);

    boolean deleteById(Long id);
    //PageInfo<Orders> page(Integer page, Integer pageSize,Integer status);
}
